package entity;

import java.util.HashMap;
import java.util.Map;

public class LdhInstanceFactory {
    private Map<String,LiuDeHualdh> ldhs = null;

    private LdhInstanceFactory(){
        ldhs = new HashMap<>();
        ldhs.put("liudehua4",new LiuDeHualdh("liudehua4",20));
    }

    public LiuDeHualdh getldh(String name){
        return ldhs.get(name);
    }
}
